#{extends 'main.html' /}
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Create</title>
</head>
<script type="text/javascript">
function myFunction()
{
	if(${flag} == true)
	alert("Duplicate Mobile Numbers");
}
</script>
<body onload="myFunction()">
	<h1 align="center">Successfully Done</h1>
	<table border="4" align="center">
		<tr>
			<td>Name 1</td>
			<td>${c.name1}</td>
		</tr>
		<tr>
			<td>Name 2</td>
			<td>${c.name2}</td>
		</tr>
		<tr>
			<td>Phone 1</td>
			<td>${c.phone1}</td>
		</tr>
		<tr>
			<td>Phone 2</td>
			<td>${c.phone2}</td>
		</tr>
		<tr>
			<td>Mobile 1</td>
			<td>${c.mobile1}</td>
		</tr>
		<tr>
			<td>Mobile 2</td>
			<td>${c.mobile2}</td>
		</tr>
		<tr>
			<td>Area</td>
			<td>${c.area}</td>
		</tr>
		<tr>
			<td>Contract ID</td>
			<td>${c.contract_id}</td>
		</tr>

		<tr>
			<td>Year</td>
			<td>${c.year}</td>
		</tr>

		<tr>
			<td>Date</td>
			<td>${c.date}</td>
		</tr>


		<tr>
			<td>Address</td>
			<td>${c.address}</td>
		</tr>


		<tr>
			<td>Products</td>
			<td>${c.productList.name}</td>
		</tr>

		<tr>
			<td>Floor Type</td>
			<td>${c.productList.floor_type}</td>
		</tr>


		<tr>
			<td>Quantity</td>
			<td>${c.productList.quantity}</td>
		</tr>
	</table>
	<h2 align="center">
		<a href="@{Application.index()}">Back Home </a>
	</h2>


</body>
</html>